package com.itheima.model.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
// 试题的选项类
public class Options extends BasePojo {

    @TableId(type = IdType.AUTO)
    private Long id;

    // 选项
    private String option;

    // 试题id
    private Long questionsId;

    // 预设分值
    private Integer score;
}
